<script lang="ts">
    import DatePane from "./DatePane.svelte";

    const { value, ...props } = $props();
    const val1 = $derived(props.value?.[0]);
    const val2 = $derived(props.value?.[1]);
</script>

<DatePane name="start" value={val1} {...props} />
<DatePane name="end" value={val2} {...props} />
